/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: AdvertisementListResponse.java
 *   @Date: 18-12-2 下午5:07
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.point.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

public class AdvertisementListResponse extends BaseResponse {


    /**
     * code : 0
     * data : {"advertisementList":[{"targetType":2,"picUrl":"http://pic19.nipic.com/20120308/4970979_102637717125_2.jpg","targetUrl":"","targetSign":"POINT_CARD_ADVERTISEMENT","targetObject":"3","locale":"zhcn"}]}
     */

    @SerializedName("code")
    private int codeX;
    private DataBean data;

    public int getCodeX() {
        return codeX;
    }

    public void setCodeX(int codeX) {
        this.codeX = codeX;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<AdvertisementListBean> advertisementList;

        public List<AdvertisementListBean> getAdvertisementList() {
            return advertisementList;
        }

        public void setAdvertisementList(List<AdvertisementListBean> advertisementList) {
            this.advertisementList = advertisementList;
        }

        public static class AdvertisementListBean {
            /**
             * targetType : 2
             * picUrl : http://pic19.nipic.com/20120308/4970979_102637717125_2.jpg
             * targetUrl :
             * targetSign : POINT_CARD_ADVERTISEMENT
             * targetObject : 3
             * locale : zhcn
             */

            private int targetType;
            private String picUrl;
            private String targetUrl;
            private String targetSign;
            private String targetObject;
            private String locale;

            public int getTargetType() {
                return targetType;
            }

            public void setTargetType(int targetType) {
                this.targetType = targetType;
            }

            public String getPicUrl() {
                return picUrl;
            }

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public String getTargetUrl() {
                return targetUrl;
            }

            public void setTargetUrl(String targetUrl) {
                this.targetUrl = targetUrl;
            }

            public String getTargetSign() {
                return targetSign;
            }

            public void setTargetSign(String targetSign) {
                this.targetSign = targetSign;
            }

            public String getTargetObject() {
                return targetObject;
            }

            public void setTargetObject(String targetObject) {
                this.targetObject = targetObject;
            }

            public String getLocale() {
                return locale;
            }

            public void setLocale(String locale) {
                this.locale = locale;
            }
        }
    }
}
